import request from '../../utils/request.js';


export function noticeGet(params: object) {
    return request({
        url: '/api/agency/notice',
        method: 'get',
        params: params,
    });
}
/**
 * 新增
 * */
export function onRegisterLogin(params: any) {
    return request({
        url: '/api/register',
        method: 'post',
        data: params,
    });
}
export function inTableGet(params: any) {
    return request({
        url: '/api/getData',
        method: 'get',
        params: params,
    });
}

export function editTableRow(params: any) {
    return request({
        url: '/api/editTable',
        method: 'post',
        data: params,
    });
}
export function deleteTable(params: any) {
    return request({
        url: '/api/deleteTable',
        method: 'post',
        data: params,
    });
}
/** 导出 */
export function exportTable(params: any) {
    return request({
        url: '/api/exportExcel',
        method: 'get',
        params: params,
    });
}
